import unittest
from hard_duplicate_remove import hard_duplicate_remove

class HardDuplicateRemover(unittest.TestCase):
    def test1(self):
        seq = [5, 6, 5, 1, 6, 5]
        self.assertEquals([1, 6, 5], hard_duplicate_remove(seq))

    def test2(self):
        seq = [3, 2, 4, 2, 4, 4]
        self.assertEquals([3, 2, 4], hard_duplicate_remove(seq))

    def test3(self):
        seq = [6, 6, 6, 6, 6, 6]
        self.assertEquals([6], hard_duplicate_remove(seq))

    def test4(self):
        seq = [1, 3, 2, 4, 2, 3]
        self.assertEquals([1, 2, 4, 3], hard_duplicate_remove(seq))

    def test5(self):
        seq = [5, 4, 1, 5]
        self.assertEquals([4, 1, 5], hard_duplicate_remove(seq))

if __name__ == '__main__':
    unittest.main()
